Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor PromptClientInput to accept string array for prompt #336

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

Ayymoss
Copy link
Collaborator

@Ayymoss Ayymoss commented Jul 27, 2024

Updated the PromptClientInput method to accept a string array instead of a single string. This change ensures that multiple prompts can be handled, improving input flexibility and client communication. Additionally, modified related method calls to maintain consistency with the new input type.

@Ayymoss Ayymoss requested a review from RaidMax July 27, 2024 22:57
@Ayymoss Ayymoss force-pushed the fix/prompt-client-input branch from 9a60cfb to 82091b1 Compare August 4, 2024 17:10
Ayymoss added 2 commits August 4, 2024 19:26
Updated the `PromptClientInput` method to accept a string array instead of a single string. This change ensures that multiple prompts can be handled, improving input flexibility and client communication. Additionally, modified related method calls to maintain consistency with the new input type.
Updated PromptClientInput to handle parsed input results and return error messages instead of raw strings. Introduced ParsedInputResult<TResult> class to encapsulate parsing results and errors, enhancing client validation and feedback mechanism.
@Ayymoss Ayymoss force-pushed the fix/prompt-client-input branch from 82091b1 to 58ac495 Compare August 4, 2024 18:27
@Ayymoss Ayymoss merged commit 4d1e7c2 into develop Aug 5, 2024
9 checks passed
@Ayymoss Ayymoss deleted the fix/prompt-client-input branch August 18, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants